|
|
@@ -4,10 +4,11 @@ describe Agents::TwitterUserAgent do
|
4
|
4
|
before do
|
5
|
5
|
# intercept the twitter API request for @tectonic's user profile
|
6
|
6
|
stub_request(:any, /tectonic/).to_return(:body => File.read(Rails.root.join("spec/data_fixtures/user_tweets.json")), :status => 200)
|
7
|
|
-
|
|
7
|
+
|
8
|
8
|
@opts = {
|
9
|
9
|
:username => "tectonic",
|
10
|
10
|
:expected_update_period_in_days => "2",
|
|
11
|
+ :starting_at => "Jan 01 00:00:01 +0000 2014",
|
11
|
12
|
:consumer_key => "---",
|
12
|
13
|
:consumer_secret => "---",
|
13
|
14
|
:oauth_token => "---",
|
|
|
@@ -25,4 +26,4 @@ describe Agents::TwitterUserAgent do
|
25
|
26
|
end
|
26
|
27
|
end
|
27
|
28
|
|
28
|
|
-end
|
|
29
|
+end
|